package com.zh.domain.dto.project;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;


@Data
@ApiModel(value = "AddProjectRequest",description = "新增项目请求参数")
public class AddProjectRequest implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("项目名称")
    private String title;
    @ApiModelProperty("团队id")
    private Integer teamId;
    @ApiModelProperty("项目描述")
    private String description;
    @ApiModelProperty("项目负责人id")
    private Integer ownerId;
    @ApiModelProperty("项目开始时间")
    private LocalDateTime startTime;
    @ApiModelProperty("项目结束时间")
    private LocalDateTime endTime;
    @ApiModelProperty("是否允许延期0否1是")
    private Integer canDelay;
    @ApiModelProperty("状态(0规划中1进行中2暂停中3已逾期4已完成)")
    private Integer status;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("初始化成员ids")
    private List<Integer> memberIds;
}